﻿<Window x:Class="MicroFlasher.Views.LockBitsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:views="clr-namespace:MicroFlasher.Views"
        ResizeMode="NoResize" WindowStartupLocation="CenterOwner" SizeToContent="Height"
        Loaded="LockBitsWindow_OnLoaded"
        Icon="../Icons/lock-bits.png"
        Title="Lock Bits"
        MinHeight="250" MaxHeight="300" Width="400">

    <Window.CommandBindings>
        <CommandBinding Command="Close" Executed="CloseCommand" />
        <CommandBinding Command="Save" Executed="SaveCommand" />
    </Window.CommandBindings>
    
    <DockPanel Style="{StaticResource DialogContainer}">
        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Content="Save" Command="Save"></Button>
            <Button Content="Cancel" Command="Close" IsCancel="True"></Button>
        </StackPanel>

        <views:DeviceBitsView x:Name="DeviceBitsView" />
    
    </DockPanel>
   
</Window>
